package com.lr.students.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


@Table(name="students")
public class Students implements Serializable{

	@Id
    @Column(name = "student_id")
	private String studentId;//学号

    @Column(name = "student_name")
	private String studentName;//姓名

    @Column(name = "student_gender")
	private String studentGender;//性别

    @Column(name = "student_birthday")
	private Date studentBirthday;//出生年月

    @Column(name = "cellphone")
	private String cellphone;//手机号码



    @Column(name = "classess_id")
	private Integer classessId;//班级




	//get方法
	public String getStudentId() {
		return studentId;
	}

	//set方法
	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}
	//get方法
	public String getStudentName() {
		return studentName;
	}

	//set方法
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	//get方法
	public String getStudentGender() {
		return studentGender;
	}

	//set方法
	public void setStudentGender(String studentGender) {
		this.studentGender = studentGender;
	}
	//get方法
	public Date getStudentBirthday() {
		return studentBirthday;
	}

	//set方法
	public void setStudentBirthday(Date studentBirthday) {
		this.studentBirthday = studentBirthday;
	}
	//get方法
	public String getCellphone() {
		return cellphone;
	}

	//set方法
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	//get方法
	public Integer getclassessId() {
		return classessId;
	}

	//set方法
	public void setclassessId(Integer classessId) {
		this.classessId = classessId;
	}




}
